home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Tools & Apps / Testing & Debugging / TV-Man Package / With Source Version / Startup•Project next >
Encoding:
Text File  |  1991-11-13  |  3.1 KB  |  74 lines  |  [TEXT/MPS ]

  1. #------------------------------------------------------------------------------------------
  2. #
  3. #    Startup•Project - Special MPW Shell UserStartup File
  4. #
  5.  
  6. #    This file (Startup•Project) is executed from the Startup file, and is used
  7. #    to override definitions made in Startup and add my own personal stuff on a project
  8. #    by project basis. It should be found in the projects root folder and will execute
  9. #    all other UserStartup•≈ scripts found in the project commands. Its intent is to set up
  10. #    the project variables that correspond to the specific environment of the developer.
  11. #    The principal problem stems from the organization of each developers hard disk. The
  12. #    The project folder organization, once defined, does not change. The project folder 
  13. #    organization will be defined by other scripts which is part of the project. This
  14. #    script (Startup•Project) sets the definitions of the where the projects are in relation
  15. #    to each other, if interaction is needed, and the specific details which are unique to
  16. #    the organization of my particular system. When this project is moved to another
  17. #    developers environment this script should be the only script needing changes.
  18.  
  19. #    Revision Log
  20. #
  21. #    09-16-91    RGK        Modified for TV-man
  22. #    04-26-91    RGK        Creation
  23. #
  24. #------------------------------------------------------------------------------------------
  25.  
  26. #------------------------------------------------------------------------------------------
  27. # Set up my Aliases.
  28.  
  29.     Alias    dir    directory
  30.  
  31.  
  32. #------------------------------------------------------------------------------------------
  33. #    Set up other development details.
  34.  
  35.     Set SearchWrap 1
  36.  
  37.  
  38.     
  39.  
  40. #------------------------------------------------------------------------------------------
  41. #    Get rid of the Stock Directories and add my projects menu. Both Projects and ProjectRoot
  42. #    were defined in the UserStartup•Robert script found in the MPW shell directory
  43.  
  44.     DeleteMenu Directory
  45.     DirectoryMenu `Directory`    
  46.     DirectoryMenu `(Files -d -i "{Projects}"≈ || Set Status 0) ≥ Dev:Null` `Directory`    
  47.  
  48.  
  49.  
  50. #------------------------------------------------------------------------------------------
  51. #    This block defines the name variable and location variables outside this project folder.
  52. #    All scripts in this project are supposed to be generic as to the folder organization
  53. #    outside the projects root folder and should use the following variables. This is the
  54. #    only place needing to be changed for different project names or another developer's disk
  55. #    environment. The project name and the program name can be different. This allows the
  56. #    addition of version or other comments to the next build process. All files that are
  57. #    created during the build process will use the program name and can be identified as
  58. #    separate product of this project. Additions to the standard MPW Build menu reflect
  59. #    these options.
  60.  
  61.     Set        Project            'TV-Man'
  62.     Set        Program            "{Project}"
  63.     Export    Project Program
  64.  
  65.  
  66.  
  67. #------------------------------------------------------------------------------------------
  68. #    Look for any other startup files and execute them. 
  69.  
  70.     For __Startup__i in `(Files UserStartup•≈ || Set Status 0) ≥ dev:null`
  71.         Execute "{__Startup__i}"
  72.     End
  73.     Unset __Startup__i
  74.